import request from '@/utils/request.js'

let baseUrl = "http://volcreate.com:9101";

export function getReportByAreaName(name) {
    return request({
        url: baseUrl + '/get-by-name/' + name,
        method: 'get',
    })
}

export function getReportByAreaCode(areaCode) {
    return request({
        url: baseUrl + '/get-by-area-code/' + areaCode,
        method: 'get',
    })
}

export function listReportByAreaCode(areaCode) {
    return request({
        url: baseUrl + '/list-by-area-code/' + areaCode,
        method: 'get',
    })
}


export function listChinaAll() {
    return request({
        url: baseUrl + '/list-all',
        method: 'get',
    })
}

export function listProvinceAll() {
    return request({
        url: baseUrl + '/list-all-province/true',
        method: 'get'
    })
}
